README for Cheung and Siegel, “The costs of collective action: an experimental study of risk, punishment, and immunity”

## Software: 
Estimates and all tables were done using R ( 2023.06.2)

## Files:
R file (for tables and figures): 
- "cheung-siegel-2023-replication.R"

Cleaned de-personalized data:
- "cheung-siegel-2023_pilot_data.csv"
- "cheung-siegel-2023_final_data.csv"

txtfiles:
- README.txt
- out.txt -- log file for "cheung-siegel-2023-replication.R"

## Codebook

action_choice - 1 if the player chooses to act

group_contribution - 1 if the group is eligible for the group benefit 

punish_risk - a value between 0 to 1 for the probability of being punished

punish_cost - the amount that is deducted from the players' payoff if they are chosen for punishment

immunity_prob - a value between 0 to 1 for the probability of being selected for immunity 

treatment- variation for how the probability is displayed to participants,  In treatment 1, all information regarding the likelihood of punishment is given as explicit probabilities.  In treatment 2, all information regarding the likelihood of punishment is given as a number of individuals, P, in a group that will be subject to potential punishment.

holtsum - result from the Holt and Laury risk assessment, higher numbers indicate risk aversion. 

risk_scale - result from Kam's risk assessment, higher numbers indicate higher risk tolerance 